package com.yyx.service;


import com.yyx.mapper.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component
public class TestServiceImpl implements TestService {

//    @Autowired
//    private TestMapper testMapper;

    @Autowired
    private TestMapper testMapper;

    @Override
    public void query() {
        System.out.println( testMapper.getUser());
    }
}
